Restrict

annotation class Restrict(val min: Byte = Byte.MIN_VALUE, val max: Byte = Byte.MAX_VALUE)

Annotation-driven validation for Bytes

Author

fzzyhmstrs

Since

0.2.0

Parameters

min

: Byte - minimum allowable value, default to Byte.MIN_VALUE

max

: Byte - maximum allowable value, default to Byte.MAX_VALUE

Properties

Link copied to clipboard
val max: Byte
Link copied to clipboard
val min: Byte